package com.bdqn.bookweb.dao;

import com.bdqn.bookweb.pojo.Books;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface BooksDao {
    List<Books> selectBooks(@Param("bookName")String bookName,
                            @Param("bookAuthor")String bookAuthor,
                            @Param("bookPublish")String bookPublish,
                            @Param("currentIndex")int currentIndex,
                            @Param("pageSize")int pageSize);
}
